﻿using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using SqlSugar;
using System;
using wnet.admin.wentcommon;


namespace Models
{
    /// <summary>
    /// 档案
    ///</summary>
    [SugarTable("yw_archives")]
    public class yw_archives
    {


        /// <summary>
        /// id
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }


        /// <summary>
        /// 档案编号
        ///</summary> 
        public string archivenum { get; set; }




        /// <summary>
        /// 档案名称
        ///</summary> 
        public string title { get; set; }

        /// <summary>
        /// 档案分类
        ///</summary> 
        public string typename { get; set; }



        /// <summary>
        /// 存放位置
        ///</summary> 
        public string archivetimecation { get; set; }



        /// <summary>
        /// 密级
        ///</summary> 
        public string confidentialitylevel { get; set; }


        /// <summary>
        /// 保存期限
        ///</summary> 
        public string storageperiod { get; set; }



        /// <summary>
        /// 归档时间
        ///</summary> 
        public DateTime archivetime { get; set; }

        /// <summary>
        /// 负责人      
        ///</summary> 
        public string personcharge { get; set; }





        /// <summary>
        /// 备注
        ///</summary> 
        public string remarks { get; set; }

        /// <summary>
        /// 创建时间
        /// 默认值:
        ///</summary>
        [JsonConverter(typeof(LongDateTimeConvert))]
        [SugarColumn(ColumnName = "createtime")]
        public DateTime createtime { get; set; }

        /// <summary>
        /// 修改时间
        /// 默认值:
        ///</summary>
        [JsonConverter(typeof(LongDateTimeConvert))]
        [SugarColumn(ColumnName = "updatetime")]
        public DateTime updatetime { get; set; }


    }

}